home *** CD-ROM | disk | FTP | other *** search
/ Advanced Placement Companion: Precalculus / Advanced Placement Companion: Precalculus.iso / pc / M_DIR / 12-01007.DIR / 00018.ls < prev    next >
Encoding:
Text File  |  1998-04-15  |  761 b   |  43 lines

  1. on specA sNum, graphicNum
  2.   setCursor(sNum)
  3.   if rollOver(sNum) = 1 then
  4.     set the visible of sprite graphicNum to 1
  5.   else
  6.     set the visible of sprite graphicNum to 0
  7.   end if
  8. end
  9.  
  10. on setCursor sNum
  11.   set the cursor of sprite sNum to [cast "Hand Cursor", cast "hand cursor alpha"]
  12. end
  13.  
  14. on specC sNum, graphicNum
  15.   if rollOver(sNum) = 1 then
  16.     set the visible of sprite graphicNum to 1
  17.   else
  18.     set the visible of sprite graphicNum to 0
  19.   end if
  20. end
  21.  
  22. on specCloc sNum, location
  23.   if rollOver(sNum) = 1 then
  24.     go(location)
  25.   end if
  26. end
  27.  
  28. on SpecD sNum
  29.   setCursor(sNum)
  30. end
  31.  
  32. on SpecE location
  33.   puppetSound("click")
  34.   go(location)
  35. end
  36.  
  37. on balk
  38.   set endTime to the ticks
  39.   set endTime to endTime + 15
  40.   repeat while the ticks < endTime
  41.   end repeat
  42. end
  43.